import wepy from 'wepy';

//loading显示
function showLoading(msg)
{
  wepy.showLoading({
    title: msg || '加载中', //提示的内容,
    mask: true, //显示透明蒙层，防止触摸穿透,
    success: res => {}
  });
}

//loading隐藏
function hideLoading()
{
  wepy.hideLoading();
}


module.exports = {
    showLoading,
    hideLoading
}